<%@ page import="com.dingpeikeji.quickdeer.core.modules.orders.entity.TOrders" contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@include file="/WEB-INF/views/include/constrant.jsp" %>
<html>
<head>
<title>退单申请</title>
<link href="${ctxStatic }/index/css/cancellation.css" rel="stylesheet">
<link href="${ctxStatic }/index/css/font-awesome.min.css" rel="stylesheet">
<%@ include file="/WEB-INF/views/layouts/head.jsp" %>
<script src="${ctxStatic }/index/js/cancellation.js"></script>
<script type="text/javascript">
	$(function(){
		$("#sub").click(function(){
			$("#subForm").submit();
		})
	})
</script>
	</head>
	<body>
        <form action="${ctxFront}/pay/backMoney" method="post" id="subForm">
        <input type="hidden" name="orderid" value="${torders.orderid }"> 
        <input type="hidden" name="ordername" value="${torders.ordername }"> 
        <input type="hidden" name="dueamount" value="${torders.dueamount }"> 
        <input type="hidden" name="penalty" value="${torders.penalty }"> 
	<div class="cancell">
    <div class="online">
        <h4 class="tuipiao">在线提交退单申请：</h4>
        <h4 class="dingxin">订单信息&nbsp;:</h4>
        <div class="information">
            <ul class="information_2">
                <li style="padding-top: 35px">
                    <span>订单号：</span>
                    <span>${torders.orderid }</span>
                </li>
                <li>
                    <span>订单名称：</span>
                    <span>${torders.ordername }</span>
                </li>
                <li>
                    <span>订单总价：</span>
                    <span>${torders.dueamount }</span>
                </li>
                <li class="push">
                    <span id="push"> 退改签政策</span>&nbsp;&nbsp;

                    <span class="fa fa-chevron-down" id="fa"></span>

                </li>
            </ul>
            <div class="show">
                <h6 id="show" style="display: none">
                     订车人需要取消订车,按下列标准扣除必要的费用:行程开始前 72 小时至 24 小时,按费用总额的<br>
                     ${sessionScope.front_user.office.flatType ne '2' or noticeType eq ORDER_TYPE_RENTPRODUCT_CUSTOM?'30%':'10%' }收取违约金;行程开始前 24 小时内,按费用总额的50%收取违约金。超过发车时间不可退款。<br>

                </h6>
            </div>
        </div>
        <h4 class="reason">退单原因&nbsp;:</h4>
        <div class="reason_1">
            <ul class="reason_2">
                <li>
                    <input type="checkbox" value=""name="">
                    <span>我要取消行程，不想用车了</span>
                </li>
                <li style="padding-top: 5px">
                    <input type="checkbox" value=""name="">
                    <span>定错行程、日期、时间、姓名</span>

                </li>

            </ul>
        </div>
        <h4 class="detail">退费明细&nbsp;:</h4>
        <div class="detail_1">
            <ul class="detail_2">
                <li>
                    <span>核对退单金额温馨提示：根据退款规则规定，本次退单可能产生相应费用，望知悉。</span>
                </li>
                <li>
                    <span>本次退单产生手续费</span>
                    <span id="mon">￥${torders.penalty }，</span>
                    <span>应退还金额</span>
                    <span id="min">
                    	<c:if test="${torders.dueamount - torders.penalty <=0}">0元</c:if>
                    	<c:if test="${torders.dueamount - torders.penalty >0}">
                    	￥${torders.dueamount - torders.penalty }元</c:if>
                    	
                   </span>
                </li>
            </ul>


        </div>
        <h4 class="manner">退款方式</h4>
    <div class="manner_1">
        <ul>
            <li><span>退至原支付账户，退款审核通过后，预计2-10个工作日退回您原支付账户</span></li>
        </ul>
    </div>
    </div>
    <div style="text-align: center;margin: 50px 0px 200px 0px">
        <a ><button class="submit" id="sub">提交</button></a>
    </div>

</div>
</form>
</body>
</html>
	<%@ include file="/WEB-INF/views/layouts/foot.jsp" %>
